package com.study.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author : 89007337.zhuyanpeng
 * @date :Create in  2019/8/26- 14:04
 **/
@Component
@Data
@ConfigurationProperties(prefix = "spring.datasource.test2")
public class DBConfig2 {
    private String url;
    private String username;
    private String password;
    private String type;
    private String driverClassName;
    private Integer minPoolSize;
    private Integer maxPoolSize;
}
